package com.example.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.entity.SysUser;
import com.example.service.ISysUserService;


@RestController
@RequestMapping("sysUser")
public class SysUserController {
	
	@Autowired
	private ISysUserService sysUserService;
	
	@RequestMapping("getAll")
	public List<SysUser> getAll() {
		return sysUserService.getAll();
	}

}
